home *** CD-ROM | disk | FTP | other *** search
/ CD ROM Paradise Collection 4 / CD ROM Paradise Collection 4 1995 Nov.iso / os2 / xm198os2.zip / MODEMS.ZIP / COMCAPI.CFG next >
Text File  |  1995-01-31  |  11KB  |  309 lines

  1. ; =============================================================================
  2. ; COMCAPI.CFG  COMCAPI.DLL (OS/2 ONLY)        Xenia Version 1.98 - January 1995
  3. ; =============================================================================
  4. ; COMCAPI.DLL is done by Michael Buenter, and used with permission.
  5. ; It allows direct access to the ISDN CAPI drivers under OS/2, with Hayes AT
  6. ; modem emulation similar to what cFos does under DOS.
  7. ; The CAPI part of COMCAPI is used in Xenia/2 if you configure 'PORT CAPI'.
  8. ; You can have as many tasks using 'PORT CAPI' as you want, CAPI can do that!
  9. ;
  10. ; NOTE: BBS access is NOT possible, you'll need to use ISDNCOM/2 etc for that.
  11. ;
  12. ; A reasonably complete list of available AT commands and registers is listed
  13. ; at the end of this file.  You can also type AT? to get a bit of online help.
  14. ; COMCAPI allows for multiple stored profiles with &Wn and Zn commands.
  15. ; The profile file is called COMCAPI.INI and is stored in the current dir.
  16.  
  17.  
  18. INCLUDE C:\XENIA\MODEMS\XENCAUSE.CFG
  19.  
  20. MDMRSP NOCONN  NO DIALTONE/
  21. ;MAILER COLLIDE
  22.  
  23. PORT CAPI
  24. SHAREPORT
  25. SPEED LOCK 64000
  26. FAX OFF
  27. FIRSTRING
  28.  
  29. INIT       AT&F|                        ; Michael's defaults are usually oki
  30. RESET      AT&F|
  31. BUSY       AT&F|
  32. ANSWER     ATA|
  33. AFTERCALL  ATI2|
  34.  
  35. OKDIAL     ISDNA ISDNB ISDNC -*
  36.  
  37. PREFIXSUFFIX  ATB0D/|   ISDNC
  38. PREFIXSUFFIX  ATB1D/|   ISDNB
  39. PREFIXSUFFIX  ATB2D/|   ISDNA
  40. PREFIXSUFFIX  ATB0D/|
  41.  
  42.  
  43. ; -----------------------------------------------------------------------------
  44. ;                             Modem Command Set
  45. ; -----------------------------------------------------------------------------
  46. ;
  47. ;       A       Force Answer
  48. ;
  49. ;       Bn      Select protocol ONLY for outgoing calls
  50. ;               0       X75 without B3 protocoll, 64000bps      ("ISDNC")
  51. ;               1       V110 async, 38400bps, 8n1               ("ISDNB")
  52. ;               2       V110 async, 19200bps, 8n1               ("ISDNA")
  53. ;
  54. ;       D..     Dial
  55. ;               L       dial last number
  56. ;               V       flag connection as SPV
  57. ;               0..9    digits
  58. ;               A..D#*  special "digits"
  59. ;
  60. ;       En      Command Echo
  61. ;               0       echo off
  62. ;               1       echo on
  63. ;
  64. ;        Hn      On/Off Hook control
  65. ;               0       on hook, terminate an active connection
  66. ;               1       off hook, reject an incoming call
  67. ;       In      Inquiry
  68. ;               0       product identification and CAPI version and
  69. ;                       manufacturer
  70. ;               1       status line output
  71. ;               2       last call statistics
  72. ;               4       last 10 CAPI info dumps
  73. ;       M       Ringing Sound
  74. ;               0       no ring
  75. ;               1       ring (pc speaker)
  76. ;       O       Return On-line
  77. ;       Qn      Quiet mode, result codes display
  78. ;               0       display result codes
  79. ;               1       supress result code; be Quiet
  80. ;       Sr=n    Set register r to value n (registers are unsigned 16bit ints)
  81. ;       Sr.b=n  Set bit b to n
  82. ;       Sr,b=n  Set bit b to n
  83. ;       Sr?     Query register r
  84. ;       SrH=n   Set high byte of register r to value n
  85. ;       SrL=n   Set low byte of register r to value n
  86. ;       Vn      Verbal mode
  87. ;               0       numeric result codes
  88. ;               1       verbal result codes
  89. ;       Xn      Result code options
  90. ;               0       modem looks like a standard 9600 bps modem
  91. ;               1       enables CONNECT <rate>
  92. ;               2       enables RINGING
  93. ;               3       enables RING <incoming caller's id>
  94. ;               4       enables CONNECT[...]/<protocols..>
  95. ;               5       enables ?
  96. ;               6       enables /<cause> on ERROR, NO CARRIER, NO ANSWER
  97. ;                       and NO DIAL TONE
  98. ;       Zn      Restore profile from number n (out of the file PROFILE).
  99. ;               This will further reregister the application at the CAPI.
  100. ;               If no number is given, 0 will be default.
  101. ;       Fn      \
  102. ;       Kn       |
  103. ;       Ln       |
  104. ;       Mn       |  ignored for compatibility
  105. ;       Nn       |
  106. ;       P        |
  107. ;       T       /
  108. ; -----------------------------------------------------------------------------
  109. ;                       extended Modem Command Set
  110. ; -----------------------------------------------------------------------------
  111. ;       &En     EAZ: n = '0' ... '9': changes register 18. Default is
  112. ;               EAZ 0.
  113. ;       &F      Reset to Factory defaults and reset (like ATZ)
  114. ;       &Lnnn   Listen to what EAZ's; changes register 13; takes multiple
  115. ;               digits or '*' for all. Default is EAZ 1.
  116. ;       &Onnn   Outdial Number. This number will be used as prefix for
  117. ;               all phone numbers dialed with the ATD command. Default is
  118. ;               none.
  119. ;       &V      View profile
  120. ;       &Wn     Write profile to number n (into a file named PROFILE). If
  121. ;               no number is given, it defaults to 0.
  122. ; -----------------------------------------------------------------------------
  123. ;                             Modem Register Chart
  124. ; -----------------------------------------------------------------------------
  125. ;     Reg#      Description                                     Default
  126. ;       S0      Auto Answer on (>=1) / off (==0)                0
  127. ;       S1      Ring count                                      0
  128. ;       S2      Escape code                                     '+'
  129. ;       S3
  130. ;       S4
  131. ;       S5
  132. ;       S6
  133. ;       S7      Number of seconds modem waits for a carrier     60
  134. ;       S8
  135. ;       S9      Bit-mapped register:                            32737
  136. ;               .0      enable any further result code
  137. ;               .1      enable CONNECT <rate>, otherwise
  138. ;                       CONNECT 9600 is always returned
  139. ;               .2      enable RINGING
  140. ;               .3      enable RING <number>
  141. ;               .4      enable /X75.. after CONNECT
  142. ;               .5      enable ERROR/<cause>
  143. ;               .6      enable NO CARRIER/<cause>
  144. ;       S10     Bit-mapped register:                            0
  145. ;               .0      enable CONNECT.../ID=<callerid>
  146. ;               .1      disable full status line, just display
  147. ;                       the callerid on the left side
  148. ;               .2      display numerical values fuer service
  149. ;                       indicator / add. si instead of names
  150. ;       S11     Status line line number (0 - screen length-1)   0
  151. ;               Note: only displayed if at&d1
  152. ;       S12     Delay after ISDN connect (in seconds)           0
  153. ;               Useful for calls to ISDN Blaster
  154. ;       S13     Serviced EAZ Mask                               2
  155. ;               Every bit from bit0.. bit9 enables RING on
  156. ;               this EAZ ('0' - '9')
  157. ;               ex:     0000000010b     answer on '1'
  158. ;                       0100000000b     answer on '8'
  159. ;                       0001111111b     answer on '0' - '6'
  160. ;                       1111111111b     answer all calls
  161. ;               This register is also modified by the AT&L... command.
  162. ;       S14     Serviced SI Mask                                0x80
  163. ;       S15     B-Channel Identification (ffs. 1.TR.6,          0x83
  164. ;               3.2.3.4.4.7)
  165. ;       S16     Source Service Indicator                        7
  166. ;       S17     Source Additional Service Indicator             0
  167. ;       S18     Source EAZ (character: '0'=48.. '9'=57)         '0'
  168. ;               Sent with connect_req message; information only
  169. ;               This register is also modified by an AT&En
  170. ;               command.
  171. ;       S19     Inactivity timer: modem disconnects if          0
  172. ;               no traffic in N minutes; 0==disabled
  173. ;       S20     B-Channel, level 2 protocol                     1
  174. ;               1       X.75 SLP Basis Operation Mode,
  175. ;                       mit Implementation Rules nach T.90
  176. ;               2       Transparent-HDLC mit Bit-Stuffing,
  177. ;                       Frame-Erkennung und CRC-Check
  178. ;               3       Bittransparent
  179. ;               4       SNA-SDLC
  180. ;               5       X.75 Btx
  181. ;               8       V110 mit transparentem B2 protokoll
  182. ;               9       V110 SNA-SDLC
  183. ;               10      V110 X75 SLP nach T.90
  184. ;       S21     B-Channel, level 3 protocol                     4
  185. ;               1       T70 NL für Leitungsvermittlung (CSPDN)
  186. ;               2       ISO 8208 (DTE/DTE)
  187. ;               3       Level 3 according to T.90, Appendix II
  188. ;               4       transparent
  189. ;       S22     SELECT_B2_PROTOCOL_REQ: Data-length             2048
  190. ;       S23     SELECT_B2_PROTOCOL_REQ: Link-Address-A          3
  191. ;       S24     SELECT_B2_PROTOCOL_REQ: Link-Address-B          1
  192. ;       S25     SELECT_B2_PROTOCOL_REQ: Modulo-Mode             8
  193. ;       S26     SELECT_B2_PROTOCOL_REQ: Window-Size             1
  194. ;       S27     SELECT_B2_PROTOCOL_REQ: V110 user rate          64
  195. ;       S28     Maximum SEND B2-Framesize                       2048
  196. ;       S29     B3-Protocol-Overhead in Bytes                   0
  197. ;               b3 == 1 (t70nl): 2
  198. ;               b3 == 2 (iso8208): 3
  199. ;               b3 == 4 (transparent): 0
  200. ;       S30     SELECT_B3_PROTOCOL_REQ: LIC                     0
  201. ;       S31     SELECT_B3_PROTOCOL_REQ: HIC                     0
  202. ;       S32     SELECT_B3_PROTOCOL_REQ: LTC                     0
  203. ;       S33     SELECT_B3_PROTOCOL_REQ: HTC                     0
  204. ;       S34     SELECT_B3_PROTOCOL_REQ: LOC                     0
  205. ;       S35     SELECT_B3_PROTOCOL_REQ: HOC                     0
  206. ;       S36     SELECT_B3_PROTOCOL_REQ: Modulo-Mode             8
  207. ;       S37
  208. ;       S38
  209. ;       S39     Numbering Type/Plan                             83
  210. ;       S40     Controller                                      0
  211. ;       S41     Info-Mask-low                                   63
  212. ;       S42     Info-Mask-high                                  0
  213. ;       S43     Default V110 user rate & Protocol               64
  214. ;       S44
  215. ;       S45
  216. ;       S46
  217. ;       S47
  218. ;       S48
  219. ;       S49
  220. ;       S50    \
  221. ;       S51     |
  222. ;       S52     |   Default Additional Service Indicator and B2-Protocol
  223. ;       S53     |   for every EAZ:
  224. ;       S54     |   If the incoming AddSI is 0 then we get the AddSI
  225. ;       S55     |   from the low byte of register 50+EAZ; the B2-Protocol
  226. ;       S56     |   is got from the high byte.
  227. ;       S57     |
  228. ;       S58     |
  229. ;       S59    /
  230. ;
  231. ; -----------------------------------------------------------------------------
  232.  
  233.  
  234. ; =============================================================================
  235.